import request from "./request";
import { LoginRequest } from "./types/common";

export const login = (data: LoginRequest) => {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}